﻿<?PHP
if (!isset($ht_path))	$ht_path = "../";
?>
<script language="javascript" src="http://www.tusijie.com/js/jquery.min.js"></script>
<div class="container_12" style="width:950px; padding:0; margin:0 auto;">
    <div class="new_header">
        <div class="header_top">
        	<div>
        	<?PHP 
			if (HasLogin()){
			?>
        	<ul class="log_on">
                <li class="lese_t"><a href='http://www.tusijie.com/logout.php'>退出</a></li>
                <li class="lese_t"><a href="http://www.tusijie.com/user" title="<?php echo $_SESSION["nickname"]; ?>" ><?php echo $_SESSION["nickname"]; ?>的兔窝</a></li>
                <li class="lese_t"><a href="http://www.tusijie.com/user" title="<?php echo $_SESSION["nickname"]; ?>"><img alt="" src="<?PHP if (file_exists($ht_path."user/headpic/avatar_small/".$_SESSION["userid"]."_small.jpg")) echo "http://www.tusijie.com/user/headpic/avatar_small/".$_SESSION["userid"]."_small.jpg"; else echo "http://www.tusijie.com/user/default_headpic_small.jpg"; ?>" width="30" height="30"></a></li>
                <li class="lese_t"><iframe width="118" height="24" frameborder="0" allowtransparency="true" marginwidth="0" marginheight="0" scrolling="no" frameborder="No" border="0" src="http://widget.weibo.com/relationship/followbutton.php?width=136&height=24&uid=2297482380&style=2&btn=red&dpc=1"></iframe></li>
         	</ul>
            <?PHP } else { ?>
            <ul>
                <li class="lese_t reg"><a href="http://www.tusijie.com/user/register.php" title="立即注册" target="_blank">注册</a></li>
                <li class="lese_t"><a href="http://www.tusijie.com/user/login.php" title="登陆账号" style="color:#FF6699;">登陆</a></li>
                <li class="lese_t"><a href="http://www.tusijie.com/public/qqsdk/oauth/redirect_to_login.php"><em class="login_Q">&nbsp;</em> QQ登录</a></a></li>
                <li class="lese_t"><a href="http://www.tusijie.com/public/weibosdk/oauth"><em class="login_XL">&nbsp;</em> 微博登录</a></li>
                <li class="lese_t"><iframe width="118" height="24" frameborder="0" allowtransparency="true" marginwidth="0" marginheight="0" scrolling="no" frameborder="No" border="0" src="http://widget.weibo.com/relationship/followbutton.php?width=136&height=24&uid=2297482380&style=2&btn=red&dpc=1"></iframe></li>
         	</ul>
            <?PHP }
			//<li><a class="kk" href="http://www.tusijie.com/kk/">围观</a></li> ?> 
            </div>
       	</div>
        <div class="header_b">
            <h1><a title="兔丝街" class="logo_new" href="http://www.tusijie.com/">兔丝街</a></h1>
            <ul class="nav_new">
                <li><a class="home" href="http://www.tusijie.com/">首页</a></li>
                <li><a class="tag" href="http://www.tusijie.com/tag/">逛宝贝</a></li>
                <li><a class="dp" href="http://www.tusijie.com/dapei/">搭配秀</a></li>
                <li><a class="kk" href="http://www.tusijie.com/activity/fx.php">分享达人</a></li>
                <li><a class="zt" href="http://www.tusijie.com/zt" target="_blank">开学季</a></li>
            </ul>
            <div class="ser_n">
                <form id="frame_header_tools_searchBox" action="http://www.tusijie.com/tag" method="get">
                    <input type="text" class="ipt1" name="searchKey" id="searchKey">
                    <input type="submit" class="ipt2" id="fm_hd_btm_shbx_bttn" value="">
                </form>
            </div>
        </div>
        <div class="hot"></div>

    </div>
</div>